<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
    <title>添加商品</title>
    <meta http-equiv="content-type" content="text/html;charset=utf-8">
    <link href="<?php echo ADMIN_CSS_URL;?>mine.css" type="text/css" rel="stylesheet">
</head>

<body>

<div class="div_head">
            <span>
                <span style="float:left">当前位置是：权限管理-》权限分配【{$info.role_name}】</span>
                <span style="float:right;margin-right: 8px;font-weight: bold">
                    <a style="text-decoration: none" href="__CONTROLLER__/show">【返回】</a>
                </span>
            </span>
</div>

<div style="font-size: 20px;position: absolute;top:100px">
     <form action="{$smarty.const.__SELF__}" method="post" enctype="application/x-www-form-urlencoded">
         <input type="hidden" name="role_id" value="{$info.role_id">
      <table border="1px" cellspacing="0" width="600px">
          {foreach $listA as $k => $v}
          <tr><td><input type="checkbox" name="auth_id[]" value="{$v.a_id}"/>{$v.a_name}</td>
            {foreach $listB as $kk => $vv}
              {if $vv.a_pid==$v.a_id}
              <td><input type="checkbox" name="auth_id[]"  value="{$vv.a_id}"/>{$vv.a_name}</td>
              {/if}
              {/foreach}
          </tr>
          {/foreach}
      </table>
         <input type="submit" value="提交权限修改"/>
     </form>
</div>
</body>
</html>